package com.jcompressor.preferences;

import org.apache.commons.lang.StringUtils;

public class ConfigKeys {
	
	public static final String JS = "js";
	public static final String CSS = "css";
	public static final String XML = "xml";
	public static final String HELP = "h";
	public static final String VERSION = "v";
	public static final String PROJECT = "p";
	public static final String YUI_OPTIONS = "yuiOptions";
	
	public static final String JCOMPRESSOR_HOME = System.getenv("JCOMPRESSOR_HOME");
	public static final String FILE_SEPARATOR = System.getProperty("file.separator");
	public static final String TMP_DIRECTORY = System.getProperty("java.io.tmpdir");
	public static final String TMP_MERGED_FILE = (StringUtils.endsWith(TMP_DIRECTORY, "/") ? (ConfigKeys.TMP_DIRECTORY + "jcompressor.merged.tmp") : (ConfigKeys.TMP_DIRECTORY + "/jcompressor.merged.tmp"));
	
	public static final String PROJECT_CONFIG_FILES = "project.config.files";
	public static final String PROJECT_TITLE = "project.title";
	
	public static final String BUILD_ORDER_JS = "build.order.js";
	public static final String BUILD_ORDER_CSS = "build.order.css";
	
	public static final String OUTPUT_JS_FILE = "output.js.file";
	public static final String OUTPUT_CSS_FILE = "output.css.file";
	
	private ConfigKeys() {}
	
}